package cn.ztydata.teachingsystem.heaven.web.dto.test;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 学生作业Dto类
 * Created by chenxin on 2015/3/19.
 */
public class StudentTestDto {
    @NotNull
    @Min(value = 1, message = "作业测试ID不能小于0")
    private Long testId; //作业测试ID

    private Integer status; //状态，0：未提交，1：已提交，2：未开始，3：已结束（未提交）
    private Integer score; //作业得分

    private Long studentId;//学生编号
    private String name;//学生名称
    private String photo;//学生头像

    private Integer correct;//批阅状态

    private String testFileName;//学生上传的作业文件名
    private String testDownloadUrl;//学生上传的作业下载地址
    private String testShowUrl;//学生上传的作业预览地址
    private String correctFileName;//教师批阅文件名
    private String correctDownloadUrl;//教师批阅文件下载地址
    private String correctShowUrl;//教师批阅文件预览地址

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getCorrect() {
        return correct;
    }

    public void setCorrect(Integer correct) {
        this.correct = correct;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getTestFileName() {
        return testFileName;
    }

    public void setTestFileName(String testFileName) {
        this.testFileName = testFileName;
    }

    public String getTestDownloadUrl() {
        return testDownloadUrl;
    }

    public void setTestDownloadUrl(String testDownloadUrl) {
        this.testDownloadUrl = testDownloadUrl;
    }

    public String getTestShowUrl() {
        return testShowUrl;
    }

    public void setTestShowUrl(String testShowUrl) {
        this.testShowUrl = testShowUrl;
    }

    public String getCorrectFileName() {
        return correctFileName;
    }

    public void setCorrectFileName(String correctFileName) {
        this.correctFileName = correctFileName;
    }

    public String getCorrectDownloadUrl() {
        return correctDownloadUrl;
    }

    public void setCorrectDownloadUrl(String correctDownloadUrl) {
        this.correctDownloadUrl = correctDownloadUrl;
    }

    public String getCorrectShowUrl() {
        return correctShowUrl;
    }

    public void setCorrectShowUrl(String correctShowUrl) {
        this.correctShowUrl = correctShowUrl;
    }

    public Long getTestId() {
        return testId;
    }

    public void setTestId(Long testId) {
        this.testId = testId;
    }
}
